package com.yxpweb.redisdao.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;


@Data
@AllArgsConstructor
@ToString
@Document(collection = "my_library")
public class MyLibrary {

    public String name;
    public String address;
    public List<String> bookIds;
}
